package com.jelly.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "tb_marker_position")
public class MarkerPosition extends BaseEntity {

	private static final long serialVersionUID = 8096176603782626898L;
	
	private String latitude;
	private String longitude;
	private String address; //大致地址
	private String recommend; //推荐地址
	private String title; 
	private Long userId; //标点人id
	private boolean share; //是否共享
	private long favorite; //点赞数量
	
	private long store;//收藏数量
	
	@JsonIgnore
	public String getMember() {
		return this.getId() +":"+this.getTitle();
	}
}
